
<?
    $td='border-bottom:1px solid #DEDEDE; padding:4px 6px; font-size:12px;';
    $td2='border-bottom:1px solid #DEDEDE; padding:4px 0; font-size:12px;';
    $tr_title='background-color: #666666; color:#FFFFFF; border:0px; font-size:12px;';
?>

<table width="550" cellspacing="0" cellpadding="0" style="margin:0;padding:0;color:#848484; font-family:Tahoma; font-size:11px; line-height:16px; text-align:left; text-decoration:none; margin: 0 auto; margin-top: 20px; width: 550px; border: 1px solid #DEDEDE; border-bottom: none; background: none repeat scroll 0 0 #FFFFFF">

    <tbody>
        <tr valign="middle" style="height: 100px;">
            <td colspan="2" style="<? echo $td; ?>">
                &nbsp;
            </td>
            <td colspan="2" align="right" style="padding-right: 20px; <? echo $td; ?> padding: 4px 16px">
                <h1 style="font-size: 21px;">Kontakt sa sajta</h1>
                Datum: <b style="font-size: 18px"><? echo date("d.m.Y"); ?></b><br>

            </td> 

        </tr>
        <tr valign="middle" style="height: 100px; ">
            <td colspan="2" style="font-weight: bold; border-right: 1px solid #DEDEDE; width: 275px; <? echo $td; ?> padding: 8px 10px; vertical-align: top;">
                <h1 style="font-size: 18px;">Kontakt info</h1><br>
                Ime: <?= $_POST['name']; ?>       <br>
                E-mail: <?= $_POST['email']; ?>       <br>
                Mobilni telefon: <?= $_POST['mobile']; ?>       <br>
            </td>
            <td colspan="2" align="left" style="padding: 10px; <? echo $td; ?> padding: 8px 10px; vertical-align: top; width: 500px;">
                <h1 style="font-size: 18px;">Poruka</h1><br> 
                <b>
                    <?= $_POST['notice']; ?>       <br>
                </b>              
            </td>

        </tr>        
    </tbody>
</table>
